<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>学生在线考试</title>
  <link rel="icon" href="../img/C3492248B5A05C9A0028BE1496CD8A0A.png">
  <link rel="stylesheet" href="../css/exam.css">
  <link rel="stylesheet" href="../download/font_4595003_v3a5z0bj5vb/iconfont.css">
  <link rel="stylesheet" href="../download/font_4595003_ousnhq95mzd/iconfont.css">
  <link rel="stylesheet" href="../download/font_4595003_zlc3m8zd2q8/iconfont.css">

<body>
  <!-- 头部信息 -->
  <div class="top-message">
    <div class="time">
      <div class="year">2004</div>
      <div class="day">11:11</div>
    </div>
    <div class="font left">诚信</div>
    <div class="logo">
      <img src="../img/logo.png" alt="">
    </div>
    <div class="font right">考试</div>

    <div class="top-right">
      <i class="iconfont icon-guanliyuan_jiaoseguanli">user</i>
      <div class="exit">退出</div>
    </div>
  </div>

  <!-- 主要信息 -->
  <div class="main-message">
    <!-- 侧边导航栏 -->
    <div class="sidebar-box">
      <div class="rootSet">
        <ul>
          <li class="iconfont icon-icon_daohang_caidan op " data-id="0"></li>
          <li class="iconfont icon-shitiguanli " data-id="1">试题管理</li>
          <li class="iconfont icon-kaoshiguanli" data-id="2">考试管理</li>
          <li class="iconfont icon-kaoshichengji" data-id="3">考试成绩</li>
          <li class="iconfont icon-yonghuguanli" data-id="4">用户管理</li>
          <li class="iconfont icon-shezhi" data-id="5">设置</li>
        </ul>
      </div>
      <div class="stuSet">
        <ul>
          <li class="iconfont icon-icon_daohang_caidan op" data-id="0"></li>
          <li class="iconfont icon-wode-wodekaoshi" data-id="1">我的考试</li>
          <li class="iconfont icon-kaoshichengji" data-id="2">考试成绩</li>
          <li class="iconfont icon-shezhi" data-id="3">设置</li>
        </ul>
      </div>
    </div>
    <!-- 右边信息 -->
    <div class="right-box">
      <iframe src="" frameborder="0" name="nav">
      </iframe>
    </div>

  </div>
  <button style="opacity: 0;" class="flushed" onclick="button()">刷新</button>
  <script>
    function button() {
      location.reload()
    }
    window.onload = function () {
      let login = JSON.parse(localStorage.getItem('login'))
      if (login == 1) {
        alert('请先登录')
        window.location.href = 'login.html'
      }
    }
  </script>
</body>
<script src="../js/exam.js"></script>


</html>